How to diagnose a greywater system backup
I would bet the pipe IS blocked and the previous owner or his handyman opened up the pipe to get it to drain into the yard.   You need to have someone figure out where this line is going (maybe with an inspection camera) and clear it if the output is proper.  Most likely it is clogged with roots and soil.