Remove unnecessary trailing slash from config