Fixes an issue with prefixes in mapped Resources when entering a prefix without leading and trailing slash