Fixed a small bug in terminal-notifier detection.