Fixed PHP error in scmdarcs's generateSnapshots()