Fix for bug 1021041

The condition should have been: 
if (not maybe_notify_app_create_op.present?) || user_env_vars.present?