Moved root check outside of PS1 line