remove trailing slash to make brew happy