Use '.' not '/' when comparing module names

I was overzealous replacing '.' with '/' in my commit to change
the delimieter in flagmappings files.

Change-Id: Ib4386f1f0fa17ca5c42b8d9e533ee1862ae4fcd1