[COOK-3808] fixes nginx::passenger run fails because of broken installation of package dependencies