Fix module.check_mode support for homebrew_tap.