Expand a glob into explicit directory references