Fixes #5998: don't overexpand path for local inventory generation in ini...

...tial promises