fix execution order - seems to be fine now

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
better error message

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>