Add back missing Ant dependency.
Actually return the registry entry, not null.