Allow setting a custom timeout when unlocking the keychain

https://issues.jenkins-ci.org/browse/JENKINS-17184

Add missing brackets