sheep: remove the duplicate `if` statement

[Hitoshi: trivial cosmetic change]

Signed-off-by: Xiaolong Xu <nxtxiaolong@gmail.com>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>