Get "Error while reading repository"

On 
* Linux
* x86_64,
* java version "1.7.0_55" / OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.12.04.2) / OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
I get the following error with most recent version of p2diff: http://pastebin.com/wn5t92pc when resolving remote (http) repositories

I reverted back to the commit before the use of Luna (cf #2 ), and it works.