Fixing logrotate_app so that it can handle "enable false".

only_if doesn't accept True. It wants a block, so this puts the FileTest in a block. 

Without this, logrotate_app failed  when params[:enable] was false, at least with Chef 10.12 and 10.16.6.