Backport the fix for lp:1401130 to 1.21 - networker is disabled for joyent environments

No changes other than backporting #1308 for 1.21.