Check for the case of input line being null