Yea, that is basically Automatically detect unregistered dependencies by 00vareladavid · Pull Request #1088 · JuliaLang/Pkg.jl · GitHub.
Another thing that I have used a bit is to include the package in a registry, without any versions. That at least allows for e.g. $ pkg add UnregisteredPackage#branch
etc, which is pretty handy.