Strips leading slash from resource path