"cylc -v" for a repo returned nothing if not in repo to dir.

I hadn't noticed as I normally work from within my clone.
Merge pull request #269 from hjoliver/bug-fix-get-repo-version

"cylc -v" for a repo returned nothing if not in repo to dir.