core: handle non-existing numpy package

Copy-paste error in code do not handle the module-not-exist-excetion
properly

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>