Fix extra action invocations when library version wasn't retrieved correctly. Close #1.