Safe node update failure

I went to update my AWS instance to 0.40.0 and got this error…

ubuntu@ip-172-31-30-36:~$ safe node bin-version
safe_network 0.39.0
ubuntu@ip-172-31-30-36:~$ safe node update
Starting logging to stdout
Checking target-arch... x86_64-unknown-linux-musl
Checking current version... v0.39.0
Checking latest released version... vsafe_api-v0.39.0
 ERROR 2021-11-16T12:55:16.849688Z [sn/src/bin/]:
	 ➤ Updating node failed: SemVer(ParseError("lexer error: UnexpectedChar('_')"))

Ubuntu 20.04 on an AWS free tier t2 micro.

A work around is to rm-rf ~/.safe - which is rarely a bad idea at this stage and reinstall.

ubuntu@ip-172-31-30-36:~$ rm -rf ~/.safe
ubuntu@ip-172-31-30-36:~$ curl -so- | bash
=> Downloading Safe CLI package from ''...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 9577k  100 9577k    0     0  23.3M      0 --:--:-- --:--:-- --:--:-- 23.3M
=> Unpacking Safe CLI to '/home/ubuntu/.safe/cli'...
=> Adding statement to '/home/ubuntu/.bashrc' profile to have Safe CLI binary path in the $PATH
=> Profile '/home/ubuntu/.bashrc' already contains a statement to set Safe CLI in the $PATH
ubuntu@ip-172-31-30-36:~$ safe node install
Latest release found: Safe Network v0.40.0/Safe API v0.39.0 vsafe_api-v0.39.0
[00:00:00] [========================================] 10.12MB/10.12MB (0s) Done
Creating '/home/ubuntu/.safe/node' folder
Installing sn_node binary at /home/ubuntu/.safe/node ...
Setting execution permissions to installed binary '/home/ubuntu/.safe/node/sn_node'...
ubuntu@ip-172-31-30-36:~$ safe node bin-version
safe_network 0.40.0