Import missing sys dependency

This missing dependency was backpatched out in
f06343039164e2e1aa19a588b2cdd08dd6759fb2.  This is a mistake, because
the import is still necessary on account of divergent code in the v0.6
series.