Do not update the credentials dictionary in utils/aws.py while iterating over it, and use the correct delete functionality