Fix getUnprefixedUri() method to detect if the input string is already unprefixed or not. We determine this by checking if a schema is being used.