add parameter for specifying custom repository URL
fix formatting
Merge pull request #129 from campanja/r2975-custom_url_upstream

add parameter for specifying custom repository URL