Forgot to return promise, fixes #1023
Merge pull request #1024 from bower/prune_promise_fix

Forgot to return promise, fixes #1023