should you distinguish between <target> for adding packagemap and <target> when validating.  Same for target