Fixed build link

When a new image is created and user clicks "build", then
new target image is being created, but there is no image version
yet for this target image. In this case we create default image version
for asssociated base image.

Fixes #379