Move 'get_partitions' call into Sys::Guestfs::Lib.