Ensure lectures/index encodes an empty hash

The course site depends on the index.yml file to contain a hash and if
not, an exception will be raised.