Fixed issue with subrepo being linked
