Fix some broken Debian stuff

I'm not going to separate these out because they're for me, not you. On
top of that the whole thing with remote / local hosts have required a
ton of little changes everywhere and I don't feel like going back and
splitting them up.

See also: this is a beta.