Don't restrict npm version unnecessarily.
Use git cookbook instead of packages, for consistency.
Tidy up and make things work more consistently.
Re-add check for pre-existing replication job.