fix(cli/WasmerEnv): strip registry.
only if hostname starts with it
#4992
+45
−14
registry.
only if hostname starts with it
#4992