Fixed resourceRegistry hasRegisteredresources method in order to include Batch resource