only validate pathinfo if it exists. unsecure option for development