Fix bug where repositories are included in jar?