[encryption] fix system wide mount point detection

@icewind1991 please have a look at it. This should solve the issue. Thanks again for spotting it!