get APP_PATH from the environment if exists