all: bail out when target name is empty