check for sub-packages after processing all the IMPORTS
Merge pull request #97 from smuzaffar/V00-22-XX

check for sub-packages after processing all the IMPORTS