tools: Fixes adding superuser permissions

Fixes adding superuser permissions when adding or editing a domain.

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