remove trailing slash from serval instance path profile option