Fix NULL check against lcap data from the jail which was actually setting lcap to NULL