fix major bug which was breaking find_and_pconf_files
rewrite Ceph capture to avoid bad logic coding style

    cond && do_something || do_something_else

is actually equivalent to

    ( cond && do_something ) || do_something_else

so if do_something fails then both do_something and do_something_else
get executed.  This can catch people unawares, even though in this
case it was OK.