In the safe management ps1 the following has a misspelling for NumberOfVersionsRetention
"NumberOfVersionsRtention"=$updateRetVersions;
This does not result in an error in the script but it cannot be set via the add command safe and with either go to your default value or will select Numberofretention days instead.
I add the e in my local code and it resolved.