
currently an invalid collection will error out on docs sanity, but this is misleading since the problem is that the collection name itself is invalid, a previous test verifying this should be introduced to avoid confusion.

example currently:
```
Running sanity test 'ansible-doc' with Python 3.7
ERROR: Command "ansible-doc -t module cyberark.ansible-security-automation-collection.cyberark_account cyberark.ansible-security-automation-collection.cyberark_authentication cyberark.ansible-security-automation-collection.cyberark_credential cyberark.ansible-security-automation-collection.cyberark_user" returned exit status 250.
>>> Standard Error
[WARNING]: module cyberark.ansible-security-automation-collection.cyberark_account not found in: /dev/null:/home/abehl/work/src/anshul_ansible/ansible/lib/ansible/modules
ERROR! Unexpected Exception, this is probably a bug: cannot unpack non-iterable NoneType object
```
##### ISSUE TYPE
- Feature Idea

##### COMPONENT NAME
<!--- Write the short name of the module, plugin, task or feature below, use your best guess if unsure -->
ansible-test

"""Return a filtered version of the given command line arguments."""
    remaining = 0
    result = []
    for arg in args:
        if not arg.startswith('-') and remaining:
            remaining -= 1
            continue
        remaining = 0
        parts = arg.split('=', 1)
        key = parts[0]
        if key in filters:
            remaining = filters[key] - len(parts) + 1
            continue
        result.append(arg)
    return result
def read_lines_without_comments(path, remove_blank_lines=False, optional=False):  
    """
    Returns lines from the specified text file with comments removed.
    Comments are any content from a hash symbol to the end of a line.
    Any spaces immediately before a comment are also removed.
    """
    if optional and not os.path.exists(path):
        return []
    lines = read_text_file(path).splitlines()
    lines = [re.sub(r' *#.*$', '', line) for line in lines]
    if remove_blank_lines:
        lines = [line for line in lines if line]
    return lines
def exclude_none_values(data):