[WFLY-490] Fix NPE when there is no resource

Fixes an NPE when executing :read-resource-description(recursive=true,access-control=trim-descriptions,operations=true,inherited=false){roles=MAIN-MAINTAINER} where MAIN-MAINTAINER is a scoped role.

I found this when investigating https://issues.jboss.org/browse/WFLY-2088