Fix menu remove

See foreman issue https://github.com/theforeman/foreman/issues/1496