Avoid error in access rules model when using external AD and  module has...

... not been configured