Strips excess slashes, prepends action with root_prefix/version if available