Update init.pp

Fixed issue with the if statement.