Only backup preferences dir if it exists

Should fix Travis