Fixed get_tags whe using storage_path
Added test
Merge pull request #553 from docker/486-get-tags

Fixed get_tags whe using storage_path