[fix] Ensure that resource name has length before attempting to load. Closes #22