Updating publish task to clone master branch into publish directory if it doesn't already exist.