Don't assume the file repository will always return an object when checking for dupes