fix Issue 12567 - Modules can't be marked as deprecated
Merge pull request #642 from 9rnsr/fix12567

Issue 12567 - Modules can't be marked as deprecated