Fix foreman-runner . .profile not found error

Closes #341