Please factor this into a private method for computing the LibG path so it's clearer the staging that is going on