repoman: fix broken masking check

This has been broken since 9ed6332f2015e41f072f897764f550c5574ea96f.
diff --git a/bin/repoman b/bin/repoman
index 2b8156e..1e1b146 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1903,7 +1903,7 @@
 
 				if not baddepsyntax:
 					ismasked = not ebuild_archs or \
-						pkg.cp not in portdb.xmatch("list-visible", x)
+						pkg.cpv not in portdb.xmatch("list-visible", pkg.cp)
 					if ismasked:
 						if not have_pmasked:
 							have_pmasked = bool(dep_settings._getMaskAtom(