Fix module to run properly with Foreman