Fixes #3129 Do not require localhost to be in inventory