$workdir -> $FOREMAN_INSTALLER_DIR and cleanup