[Libguestfs] [PATCH 1/3] get-kernel: split command line handling in own function