updated imread parameters comment to standard format

- with 'str' file type (instead of 'string')
removing trailing space (PEP8 formatting)
explicitly checking for None as per code review feedback

- instead of implicit (non-truthy) test