Remove a trailing slash on a property value