fix library functions

	get_public_key
	run_script
	user_exists

On branch master
Changes to be committed:

	modified:   lib/_km.lib
	modified:   sync.sh