Fix possible variable issue when private files form is save

Keep a custom pin domain from getting used if the PIN app matches the default.