fix bad references in management commands

these have been broken since
https://github.com/dimagi/commcare-hq/commit/ff2a57da193df2f2c71ab2c86f68520eb8242759