More forgiving repo-name finder

Ran into a situation in which there was not a remote
from which to parse the repo name; Seems resonable to fall
back to the directory holding the repo
Merge pull request #145 from andromedado/master

More forgiving repo-name finder