Fix bug leading to invalid (non-absolute) URIs for constant mappings