Get the right git commit ids for ubuntu image