This commit fixes an issue caused by a refactor where setting global or local AWS credentials in a config file fails.