Previous approach fails when all of formulas are installed from git. Change-Id: I0622461ee6469c59c1fd3ad4a23cdaeaeee1b444