Fix SwifRepo head() method.