style: add None checks to main
style: add None checks to main

common-workflow-language/cwltool,common-workflow-language/cwltool,common-workflow-language/cwltool,dleehr/cwltool,dleehr/cwltool,dleehr/cwltool,dleehr/cwltool