Adding try when truncating revision SHAs in case previous revision
doesn't exist like on initial deployments
Merge pull request #60 from artificialrobot/master

Handle case when previous revision is nil for initial deployments