Filter null/undefined arguments on Windows

These won't be able to be properly quoted