webadmin: Fixed potential NPE in URI

Justly noted by Findbugs.

Change-Id: Ie3216adef9caeaf32c2d0cf0f33c03807f62ba05
Signed-off-by: Lior Vernia <lvernia@redhat.com>