Correct handling of functions with only kwarg args in getcallargs (closes #11256)

A patch from Daniel Urban.
3 files changed