determine_wants must return a list

This patch forces determine_wants to return an empty list
when advertise_refs is True.