fix(continous-deployment): actually update the working copy
chore(continous-deployment): remove unused scripts
fix(maintenance.php): be protocol agnostic
style(maintenance.php): move return statement into function