Add branch check to 12.04 branch