Add INDEX option for building package from git