Change module root find function in CompatibilityRule (#1196)
Change module root find function in CompatibilityRule (#1196)

* Change module root find function

* Fix whitespace

* Add a comment

PowerShell/PSScriptAnalyzer