Remove useless require statement
Change timeout as it was too long
Change to get tags same as branches

Add tests for tagname with dots

Fix handling tags and branches