Man in court over Londonderry alert