Handle python projects with multiple modules
Handle python projects with multiple modules

Keystone has now two modules and our extraction generates the same
content for both modules.

To confirm, check current keystone directory, it contains the same
locale files:
$ l keystone_tempest_plugin/locale/keystone_tempest_plugin.pot \
keystone/locale/keystone.pot
-rw-r--r-- 1 aj users 44265 Apr  9 19:46 keystone/locale/keystone.pot
-rw-r--r-- 1 aj users 44265 Apr  9 19:46 keystone_tempest_plugin/locale/keystone_tempest_plugin.pot

Fix the extraction so that only the module directory is scanned for input,
and not anything outside of it. This will generate in this case file
with just the boilerplate in it since the plugin is not translated.

Change-Id: I1d19d8f5172fc44b686fd9f1912af2e88a769d7e

Tesora/tesora-project-config,openstack-infra/project-config,Tesora/tesora-project-config,openstack-infra/project-config,dongwenjuan/project-config,dongwenjuan/project-config