Minor bug fix in retrieval of master password