fixed bug in Tap.query which caused taps to be re-applied on every run.

The regex in the gsub was faulty. Instead of fixing it (which might break again if homebrew changes its naming scheme) I reimplemented it using `exec brew tap`.