Add a check that a pre-existing metapolator directory is a git checkout