Bug fixed in getCommitDates for pages that don't return a JSON string