fix #14 - deploy failed unless previous deploy existed