pylint: Handle primitive types for no-name-in-module.

This fixes errors such as:
E: No name '_dtmldir' in module 'Products.ERP5Type' (no-name-in-module)

Where _dtmldir is 'PATH/TO/Products/ERP5Type/dtml/', dynamically added to
Products.ERP5Type module.
6 jobs for arnau in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

01:00:51

passed ERP5.PerformanceTest-Master

passed ERP5.UnitTest-Master

02:20:24

passed SlapOS.Eggs.UnitTest-Master.Python2

00:39:35

passed SlapOS.Eggs.UnitTest-Master.Python3

01:11:27

passed ERP5.PerformanceTest-Master