fix edge case for package without tags. Fix #26