Wait for DNS before attempting git clone