Fix RepoHandler

This fixes #215