pulled out some common functionality, ie updating the machines
repository

also, backups shouldn't fail now because they add their own keys at the
beginning
Merge branch 'master' of github.com:swirepe/personalscripts