Ticket 70 cut ".pub" in case user added it

https://github.com/easy-wi/developer/issues/70