Adding an additional check to special names so that an empty image does not get created.