Fixed raven for cases where sentry is not at a root url

the way path was being set resulted in losing a '/' if you had more than dir in the path section of the uri