Checked that Package declaration has not been defined yet. Fixes #424
Merge pull request #425 from puphpet/ticket/22998_mod_dup_declaration

Checked that Package declaration has not been defined yet. Fixes #424