Upstart exporter uses PS env var to remove assumptions when creating
pidfiles

The private method 'name_for_index' of Foreman::Engine was made
public to be used in Foreman::Export::Upstart.