Mina deploy bug fix - Foreman