Update xhprof.pp

Added check if composer.json exists