Why should that be taken into account?
If you give a greater weighting to away victories, then a team which always wins away but loses at home will rank higher than a team which always wins at home and loses away. Seems to me that both teams have equal merit and equal (but opposite) weaknesses. Winning away from home is great, but it doesn't outweigh losing at home.
Edit:
I appreciate of course that, all other things being equal, winning away will be a greater achievement than winning at home. In that sense you might be thought to "earn" more points by winning away. But the purpose of ranking points is not to compare the merit of the various victories secured by a particular team; it's to compare the merits of different teams as against each other (and over a fairly long period). And on the premise that all teams play an approximately equal number of home and away matches then it will all equal out and, for the reason I've given above, it's right that home and away victories count the same.
The flaw in my theory is that the premise that all teams play an equal number of home and away matches is not, currently, accurate, because Pakistan play no proper home matches. If they achieved an exactly equivalent record as, say, Sri Lanka, then Pakistan are indeed arguably the better team because they have not had the benefit of home advantage. I'm not sure that this anomalous and (hopefully) temporary consideration should lead to the whole system being changed, though.