Fix errors when no assets are defined.

Otherwise if you don't have any assets defined, the `collect_static` command aborts with an error, unfortunately.