Solves bug with r.js builder when passing in an empty array.