Check for null chunk for now

Signed-off-by: Jack Huey kitskub@gmail.com