Fix #187: malformed qsub script when environment has an empty dictionary