Fix format of the array of AMD dependencies in require calls.