fix for getUrlForPath
test for / for gettign the jar entry but also for generating the url