use nexus context to generate nexus url

when the nexus context is modified, the Chef::Nexus.nexus_available is failing due to the incorrectly generated endpoint.