xbps: merge patch from master to fix xbps-query --fulldeptree with some pkgs.