improve PADRINO_ENV deprecation compatibility, fixes #1632