Fix unused args in modules/cloud.py

Fixes #18387