fix installing extensions with dash (or other char) in the name