handle empty-string inputs and input=output jobs more reasonably