This change doesn't make much sense to me. Shouldn't you be testing if a unix domain socket is being queried?