Grabs the labkey.url.path and allows a NULL study in the constructor if it is set. Otherwise errors.