s4sync: fix base dir on init.d script and test file exists