Only check for Shakefile if running task commands