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
[Thanks for the nifty plugin!]