Remove github.com/docker/machine library dependency
What does this MR do?
The reliance on github.com/docker/machine was just to get the machine data directory. I've copied the relevant code from the library instead so that we don't need to rely on an outdated library.