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
2 jobs for fix_standalone
Status Job ID Name Coverage
  External
running SlapOS-Master.UnitTest-Master

15988:56:47

running SlapOS.Eggs.UnitTest-Master.Python3

15988:56:43