slap/standalone: fix format with 0 partitions

we can have a case where written slapos.cfg has "partition_amount = 10"
(leftover from previous execution) and we call format(0), in this case,
we really want slapos.cfg function to be rewritten.

See merge request !557
Status Job ID Name Coverage
  External
running SlapOS-Master.UnitTest-Master

11784:58:32

running SlapOS.Eggs.UnitTest-Master.Python3

11784:58:29