check for sub-packages after processing all the IMPORTS