Fix installOrLocate