Bugfix when SHORT_BASE_URL is set.