Fixed a small collection of flake8 violations that had snuck in
Removed an inactive system check for upload_to.

Thanks to Simon Charette for the eagle eyes.