Only restrict getChunk to certain stages if actions are required

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