Fix typo
Fix #350

Need to call real-path in case the repository address is local.