fix https://svnweb.cern.ch/trac/fts3/ticket/595

add if ? in kwargs before deleting things from the job dictionary