coremanager: exit when core directory does not exist

Signed-off-by: Franck Jullien <franck.jullien@gmail.com>