Fixed a error when are trying to access to a urlPathVar without value