Fix case when project has no previous builds