Make postgresql cluster reset idempotent

Hi,
The pull request will make postgresql cluster reset idempotent
Just added if pgdata directory is created then a rest will be triggered else will be skipped 

Thank you for postgresql role its been very helpful so far 
Cheers