[SlapOS Core] Improve configure-local command and add test this command