Fixed an issue with pull and all command