b570948 Don't allow building modules with the same name as a base module (e.g. platform)

Authored and Committed by mprahl 2 months ago
    Don't allow building modules with the same name as a base module (e.g. platform)
    
    A user managed to build a module called "platform", which stopped dependency
    resolution from working. This should stop that from happening again.