Fix typo in the default parameter variable names for dir_status check