Use unless to determine whether to create partition

Change-Id: I1c35eb045a46b95f75c7101567d4c4f340b787ab
1 file changed