Removed early check for empty inventory

The `ansible-playbook` script throws an error for empty inventory files before creating a playbook object and running its plays.

This is sometimes unwanted since some playbooks may contain only action to be performed on localhost (which is implicit), see #6442 and #9712 .