Fixes #29974 Add `None` check while comparing module parameter values (want) with the actual configuration present on device (have).