Incorrect log message on mismatch ownership in check_private_dir
our variable shadowing in check_private_dir results in an incorrect log message.