[BACKPORT] added git fetch before trying to build a branch in fab