Recent repo list : prevent crash when shortening path