Fix ag list and ag create commands.

Looks like I introduced an error when I rebased on top of the 'wait' argument added to query_azure.