fix parsing of non-existing haku
add test case for non-existing haku