Get current `coroutineContext` inside a regular function

No, it is not. Coroutine context. Non-suspending function does not have a context. You need to pass it explicitly to your function as parameter or receiver.