Minor updates into repository update part

Change-Id: I5b1909be696cc5cd7133d536a54d55137a2d21cb
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
Reviewed-by: Matti Paaso <matti.paaso@digia.com>