Remove trailing slash appendage.