Cleaned up error message in ParseURLTemplate