Fix invalid skipping of tag when package isn't added in root package