Make things work even if SITE_URL has a path (Fix #307)