search for the sub namespace in module name

still needs an update to make it properly work when:

/namespace/subnamespace1/subnamespace2/
/namespace/subnamespace1/

since both would return "true" in strpos