Fix NULL check against lcap data

Fix NULL check against lcap data from the jail which was actually setting lcap to NULL.  This lines up with similar code in jexec(8).