Call error if the tags command failed.

Fixes https://github.com/bbatsov/projectile/issues/377