Property names contain '-' characters, which are translated into underscores because POSIX shell variables cannot contain hyphens. We should do the same thing for forward slash characters (i.e. '/') because these also cannot be present in the names of shell variables. Fixes: #15782