##### SUMMARY
Certain `requirements.yml` file syntax still leads to traceback.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
lib//ansible/cli/galaxy.py

##### ANSIBLE VERSION

```paste below
ansible --version
[WARNING]: You are running the development version of Ansible. You should only run Ansible from "devel" if you are modifying the Ansible engine, or trying out features under
development. This is a rapidly changing source of code and can become unstable at any point.
ansible 2.10.0.dev0
  config file = None
  configured module search path = ['/Users/alancoding/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/alancoding/Documents/repos/ansible/lib/ansible
  executable location = /Users/alancoding/.virtualenvs/awx_collection/bin/ansible
  python version = 3.6.5 (default, Apr 25 2018, 14:23:58) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]
```

##### CONFIGURATION
```paste below
ansible-config dump --only-changed
[WARNING]: You are running the development version of Ansible. You should only run Ansible from "devel" if you are modifying the Ansible engine, or trying out features under
development. This is a rapidly changing source of code and can become unstable at any point.
ANSIBLE_NOCOWS(env: ANSIBLE_NOCOWS) = True
```

##### OS / ENVIRONMENT
Mac OS / N/A


##### STEPS TO REPRODUCE
Make a requirements file that has a null entry for collections

```yaml
collections:
```

now run `ansible-galaxy collection install -r requirements.yml -vvv`

##### EXPECTED RESULTS
Does nothing, exit code 0


##### ACTUAL RESULTS
traceback

```paste below
Traceback (most recent call last):
  File "/Users/alancoding/Documents/repos/ansible/bin/ansible-galaxy", line 123, in <module>
    exit_code = cli.run()
  File "/Users/alancoding/Documents/repos/ansible/lib/ansible/cli/galaxy.py", line 456, in run
    context.CLIARGS['func']()
  File "/Users/alancoding/Documents/repos/ansible/lib/ansible/cli/galaxy.py", line 928, in execute_install
    requirements = self._require_one_of_collections_requirements(collections, requirements_file)
  File "/Users/alancoding/Documents/repos/ansible/lib/ansible/cli/galaxy.py", line 662, in _require_one_of_collections_requirements
    requirements = self._parse_requirements_file(requirements_file, allow_old_format=False)['collections']
  File "/Users/alancoding/Documents/repos/ansible/lib/ansible/cli/galaxy.py", line 550, in _parse_requirements_file
    for collection_req in file_requirements.get('collections', []):
TypeError: 'NoneType' object is not iterable
```

raise AnsibleError("Expecting requirements file to be a dict with the key 'collections' that contains "
                                   "a list of collections to install")
            for role_req in file_requirements:
                requirements['roles'] += parse_role_req(role_req)
        else:
            
            extra_keys = set(file_requirements.keys()).difference(set(['roles', 'collections']))
            if extra_keys:
                raise AnsibleError("Expecting only 'roles' and/or 'collections' as base keys in the requirements "
                                   "file. Found: %s" % (to_native(", ".join(extra_keys))))
            for role_req in file_requirements.get('roles', []):
                requirements['roles'] += parse_role_req(role_req)
            for collection_req in file_requirements.get('collections', []):
                if isinstance(collection_req, dict):
                    req_name = collection_req.get('name', None)
                    if req_name is None:
                        raise AnsibleError("Collections requirement entry should contain the key name.")
                    req_version = collection_req.get('version', '*')
                    req_source = collection_req.get('source', None)
                    if req_source:
                        
                        
                        req_source = next(iter([a for a in self.api_servers if req_source in [a.name, a.api_server]]),
                                          GalaxyAPI(self.galaxy, "explicit_requirement_%s" % req_name, req_source))
                    requirements['collections'].append((req_name, req_version, req_source))
                else:
                    requirements['collections'].append((collection_req, '*', None))
        return requirements
    @staticmethod
    def exit_without_ignore(rc=1):