Fixing provider checks in the base node plugin build method.