bugfix when there are no deploy profiles defined