Added homedir path expansion for keypair-add.

Change-Id: I76c5454952824dc9c238d82af74f82ae5fc888b5
Fixes: Bug #1065366
Merge "Added homedir path expansion for keypair-add."