Fix trying to clean pkgname '*' due to race condition when major dependencies fail

This was seen with -a when devel/glib20, devel/libpthread-stubs and x11/libxcb
failed at the same time and skipped some of the same ports.