Improve getting name with owner from origin url

Fixes #7