On the minimal ramification problem for semiabelian groups