Resolve repo location to real folder before using it.