Fix app-env looking at the wrong arg