vcs: Check whether mirror path exists

Check whether mirror paths exists rather it's a directory.
git_mirror: Set type to int for --timeout-sec

So we'll pass an integer to vcs.