Disable URL when a source repository is selected

When the user selects one source repository, the source URL field is cleared and disabled. Also, when the user deselect the source repository, URL field is enabled again.