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

6768:28:07

running SlapOS.Eggs.UnitTest-Master.Python3

6768:28:03