fix leading "/" in url when urlPrefix is empty-string

producing something like /my-component/images/foo.png instead of my-component/images/foo.png