Fixes #1937: Fixed wrong behavior or advanced app's `init --env` when called without parameter actually specified