Fix `brew cask alfred` for Yosemite/Alfred 2.4

Closes #5820
References: #6059