fix cant install when running as root (RhBug: 1111142)