Ensures the public_directory symlinks are valid.