Fixing error when missing paths.public option and adding more logging