Fixing the url for repos and adding a pencil when repos are editable