Fix logical error in origin check
Bump version