works now for git repos that have no origin remote

the actions for git-like repos now uses the url of the configured remote
of the master branch, rather than just assuming it's called origin.