Don't pass on None type arguments in python