Fix setting originURL
Merge pull request #7 from Anislav/feature/origin-url

Fix setting originURL