fixed a bug when checking the existence of a checkpoint
using the local mode in the REPL when hadoop is not installed. fixes #268