Propagate elf loading failure up.

Also fix mistake in error message.