fixed management BaseCommand patching, using the cls argument of patch_base_command, not the *optionally* imported BaseCommand