get_the_plan auto-creates a plan if it doesn't exist

Change-Id: I9bf9d800aeb73ede836bfbd477d38cf927f2085b