Bug fix for regular expression URLs which were getting incorrectly prefixed with '/' when no prefixes were specified