fix the condition for creating the foreman_upstart_path