Check for existing directory