mason.git: fix status check.