Fix ComponentResolver getName when giving a name without @