Fixed LONGSTANDING bug with panic on directory parse fail