Fix local catalog path already exists check