Changed validate_path to validate_realpath.