MB-6972:  use LOCAL_REPO_ROOT if already set

Change-Id: I9e769664614f91079cf211d5a8a4062953e2a423