update_repository: Use os.path.join() instead of os.sep

Change-Id: I8cdb30bb83fbf6aeeaae421fc217d185cd0a0c3c
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>