PkgDev.publish gives SystemError

PkgDev.publish("FooBar") 

gives on Windows10 the

SystemError: opening file C:\Users\Home\AppData\Local\JuliaPro-0.5.1.1\pkgs-0.5.1.1\v0.5\METADATA\LineSearches/versions/2.0.0/sha1: 
No such file or directory
in publish(::String) at PkgDev.jl:70

And indeed in \METADATA\LineSearches\versions there is no version 2.0.0. Additionally I am not sure if “METADATA\LineSearches/versions/2.0.0” as written in the error message is a valid path name.