fixed bug when using --fakeroot with status