fix some backport issues with membership.pt (package naming substitution)