WCM-138 Prevents null pointer, the friendly URL could not belong to any page