fix build.url to work with API URLs that contians paths
Merge pull request #7 from s-u/master

fix build.url to work with API URLs that contains paths