Feature/579 package stack trace

Fixes issue #605. The install script does not fail now (we catch the exception). We will investigate alternatives, as described in issue #612.