freenetconfd: refactor code for greater readability

Signed-off-by: Zvonimir Fras <zvonimir.fras@sartura.hr>