Fix case when Foreman running on subpath