Tidied the npm deployment type so that it uses the bundled package.json
and fixed an issue with rollback being attempted on successful
deployment.