Update to make running with latest Foreman develop

The way how to get into settings was modified.

Based on https://github.com/GregSutcliffe/foreman_discovery