Correct error checking for # of parameters to 'get' command.

Corrects #78. Providing an insufficient number of parameters to the 'get' command no longer causes it to crash.

To test, run just 'get TEST' where 'TEST' is the name of a profile. You should get an 'invalid parameters' error and the daemon should not crash.