Move site rool url detection into separate function
Move site rool url detection into separate function

This will be shared with binary download stuff

chriskuehl/nodeenv,jhermann/nodeenv,chriskuehl/nodeenv