The podman module paths are moving from github.com/containers/podman to
go.podman.io/podman. This will help with future mobility.
Signed-off-by: Brent Baude <bbaude@redhat.com>
The function `IsPathAvailableOnMachine` was returning
the wrong target path (the path of the file mounted
inside the machine) when the provider was HyperV and
the mounted drive wasn't `C:`.
For example here:
https://api.cirrus-ci.com/v1/task/5212355623124992/logs/main.log
The host path `Z:\\podman_test3139230807\\...\\host-ca-certs.pem` was
converted as guest path `/mnt/c/podman_test3139230807/.../host-ca-certs.pem`
although `Z:\` was mounted to `/mnt/z` rather than `/mnt/c`.
We have fixed this behavior and added a few unit tests.
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>