This is expected behavior. A module only has access to the modules it depends on, and that all dependencies are met. The bad dependency here is impossible to satisfy. The error message is not nice though.
I would like to see the stack trace for the error "Evaluation Error: Error while evaluating a Function Call, undefined method `include?' for nil:NilClass" that is in the title. Thomas Speigner can you paste that into a comment here?