Fixing link validation before creating hard link