tools: Fixes adding superuser permissions

Fixes adding superuser permissions when adding or editing a domain.

Change-Id: Ib96e77abf446e93a1bce85eecbcbff9591a6a64f
Bug-Url: https://bugzilla.redhat.com/1020172
Signed-off-by: Martin Perina <mperina@redhat.com>