Remove an extra space in the module execution line if no environment was set.