Assert on state, not something that didn't happen
Remove pointless assertion
Pathname: removed unused method alias
typesafe-activator: fix build

Closes #23199.
Closes #23205.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>