Refs #29507 - use /usr/share/foreman/tmp not /run/foreman
/usr/share/foreman/tmp is a symlink to /run/foreman on EL, and/var/cache/foreman on Debian
As we create the state file in {Rails.root}/tmp, let's also look for it in {Rails.root}/tmp, and not something it might or might not link to.
Refs #29507 - use /usr/share/foreman/tmp not /run/foreman
/usr/share/foreman/tmp is a symlink to /run/foreman on EL, and
/var/cache/foreman on Debian
As we create the state file in {Rails.root}/tmp, let's also look for it in {Rails.root}/tmp, and not something it might or might not link to.