repository->type to not be required, fixes #1
Merge pull request #5 from peterbe/repository-type-to-not-be-required

repository->type to not be required, fixes #1