Fix problem when no previously built binary packages exist

Change-Id: I5b35d3981f0807880127723a029f36d42f13302a