fix external repo in profile build