##### SUMMARY
Happened here: https://github.com/ansible-collections/community.general/pull/341

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
ansible-test

##### ANSIBLE VERSION
```paste below
devel
```

if packages:
        if force:
            force_yes = '--force-yes'
        else:
            force_yes = ''
        if m.check_mode:
            check_arg = '--simulate'
        else:
            check_arg = ''
        if autoremove:
            autoremove = '--auto-remove'
        else:
            autoremove = ''
        if fail_on_autoremove:
            fail_on_autoremove = '--no-remove'
        else:
            fail_on_autoremove = ''
        if only_upgrade:
            only_upgrade = '--only-upgrade'
        else:
            only_upgrade = ''
        if fixed:
            fixed = '--fix-broken'
        else:
            fixed = ''
        if build_dep:
            cmd = "%s -y %s %s %s %s %s %s build-dep %s" % (APT_GET_CMD, dpkg_options, only_upgrade, fixed, force_yes, fail_on_autoremove, check_arg, packages)
        else:
            cmd = "%s -y %s %s %s %s %s %s %s install %s" % \
                  (APT_GET_CMD, dpkg_options, only_upgrade, fixed, force_yes, autoremove, fail_on_autoremove, check_arg, packages)