brew: fix macports_check conditional