Ensure empty resource names are ignored during loading.

Progress on #25.