Relative posts should never fail to build, even if @dir or @name is nil

Fixes https://github.com/jekyll/jekyll/issues/1963