Fix getBuildDefinitions
  The scope was not correct and parseReplyData call was failing