Changed usage of site values to accommodate nil values

* baseurl is often not configured for Octopress sites, so the value is nil,
  and the prior code would insert a literal "nil" in the URL.