only send activity if we have a valid path and the file is readable

only send activity if we have a valid path and the file is readable

Thanks @nickvergessen for pointing this out!


????
```php
&& false