Calling Task.getThis() outside of a task now returns a null Task instead of triggering an assertion.