Cope with calculated directories that don't exist

Signed-off-by: Pedro Melo <melo@simplicidade.org>