Fix load failure when pwd != repo :/