Inventory directory should always be absolute.  Fixes #4535.