Issue #31: Added check for and correction of repository URL.