Index: /applications/editors/josm/i18n/launchpad.pl
===================================================================
--- /applications/editors/josm/i18n/launchpad.pl	(revision 27025)
+++ /applications/editors/josm/i18n/launchpad.pl	(revision 27026)
@@ -140,4 +140,5 @@
       #print $mech->content();
     my $form = $mech->form_name("decideform");
+    die "Could not login.\n" if !$form;
     my %par = ("yes" => "");  # We need to add "yes" or it does not work
     foreach my $p ($form->param)
