valueOfPromise should return undefined if promise is not inspectable