[WFLY-1865]

fixed possible nullpointer and updated aesh version that should
fix: https://bugzilla.redhat.com/show_bug.cgi?id=996164