Improve error messages when no URN given.