Don't add a trailing slash to a module if it already contains one